#ifndef NOSAL_CORE_ABORT_H_
#define NOSAL_CORE_ABORT_H_

namespace netaos {
namespace nosal {
namespace core {

void AbortHandlerPrototype() noexcept;

using AbortHandler = decltype(&AbortHandlerPrototype);

AbortHandler SetAbortHandler(AbortHandler handler) noexcept;

[[noreturn]] void Abort(char const* text) noexcept;

}  // namespace core
}  // namespace nosal
}  // namespace netaos

#endif  // NOSAL_CORE_ABORT_H_
